package com.example.demo.pattern.builder.drink;

import com.example.demo.pattern.builder.pack.Bottle;
import com.example.demo.pattern.builder.pack.Packing;

public class CokeDrink extends Drink {
    @Override
    public String name() {
        return "可口可乐";
    }

    @Override
    public Double price() {
        return 4.5d;
    }

    @Override
    public Packing pack() {
        return new Bottle();
    }
}
